package com.lzj.service;

import com.lzj.dao.MeetingParticipantsMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *
 * </p>
 *
 * @autor:lzj
 * @date:2022/3/2
 */
@Service
public class MeetingParticipantsServiceImpl implements MeetingParticipantsService{
    @Autowired
    MeetingParticipantsMapper meetingParticipantsMapper;

    public void setMeetingParticipantsMapper(MeetingParticipantsMapper meetingParticipantsMapper) {
        this.meetingParticipantsMapper = meetingParticipantsMapper;
    }


    @Override
    public List<Integer> getEmpById(int meetingid) {
        return meetingParticipantsMapper.getEmpById(meetingid);
    }

    @Override
    public List<Integer> getMeetingByEmpId(int employeeid) {
        return meetingParticipantsMapper.getMeetingByEmpId(employeeid);
    }
}
